export default {
  path: "/",
  name: "home",
  redirect: "/index",
  component: () => import("@/layout/index.vue"),
  children: [
    {
      path: "/index",
      name: "index",
      component: () => import("@/views/index/index.vue"),
      meta: {
        title: "项目首页",
        isShow: true,
      },
    },
    {
      path: "/user",
      name: "user",
      component: () => import("@/views/user/index.vue"),
      meta: {
        title: "用户模块",
        isShow: true,
      },
      children: [],
    },
    {
      path: "/role",
      name: "role",
      component: () => import("@/views/role/index.vue"),
      meta: {
        title: "角色模块",
        isShow: true,
      },
      children: [],
    },
    {
      path: "/auth",
      name: "auth",
      component: () => import("@/views/auth/index.vue"),
      meta: {
        title: "权限模块",
        isShow: true,
      },
      children: [],
    },
  ],
};
